package com.pap.datas.dict.auto.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.pap.base.mapper.PapBaseMapper;
import com.pap.datas.dict.auto.entity.DictDetail;;

public interface DictDetailMapper extends PapBaseMapper<DictDetail> {
	int deleteByPrimaryKey(String id);

	int selectCountByMap(Map<Object, Object> map);

	List<DictDetail> selectListByMap(Map<Object, Object> map);

	DictDetail selectByPrimaryKeyAndTableName(@Param("id") String id,
			@Param("dynamicTableName") String dynamicTableName);

	int deleteByPrimaryKeyAndTableName(@Param("id") String id, @Param("dynamicTableName") String dynamicTableName);

	int insert(DictDetail record);

	int insertSelective(DictDetail record);

	DictDetail selectByPrimaryKey(String id);

	int updateByPrimaryKeySelective(DictDetail record);

	int updateByPrimaryKey(DictDetail record);

    // alexgaoyh add
    int deleteByDictId(@Param("dictId") String dictId);
}